home *** CD-ROM | disk | FTP | other *** search
/ Alles Voor Internet / Tout Pour Internet / alles voor internet.iso / MacInternet™ / Unix / getit.shar / README < prev    next >
Encoding:
Text File  |  1993-07-26  |  2.8 KB  |  78 lines

  1. Well don't get too excited, this is no big hack, and mostly made of stuff
  2. I stole from here and there, basically the ftp script that is on sumex that
  3. allows auto ftping and modified version of a  perl script written by
  4. Jonathan Eunice (jonathan@cs.pitt.edu) that beautifies (???) the mac
  5. digests from umich.
  6.  
  7. Of course this isn't like skim.c that does almost everything for you
  8. except get the files (if you like sumex :) but it is handier IMHO for
  9. what is does do (and it doesn't involve compiling :)
  10.  
  11. What *does* it do you ask?  Well, this is the run down:
  12.  
  13. You run out and get a unix box :-)
  14. Save a copy of the mac.archive.digest to a file.
  15. Edit the file (with your favorite editor of course), deleting any of the
  16.     programs you don't want (i.e. any line starting with a '/mac/...'
  17. Save the file.
  18. Type getit filename
  19. Voila, all the files show up in a new directory.
  20.  
  21.  
  22. How to set it up. (for the complete moron)
  23.  
  24. You sould have gotten the files:    README (well I sould say so :)
  25.                     getit*
  26.                     prnumich*
  27.                     getumich*
  28.                     sample-input
  29.  
  30. 1) Make sure you have perl by typing 'perl -v'
  31.  
  32. 2) Move the files 'getit','prnumich', and 'getumich' to your local bin directory
  33.     If you don't have a local bin dir, edit the file '.cshrc' so that
  34.     there is a line that says 'set lpath = ($HOME/bin)'
  35.     Now find the line that starts with 'set path = (' and ad '$lpath '
  36.     right after the '('  
  37.     It should now look like 'set path = ($lpath /blah/blah/blah/... .)'
  38.     Type 'mkdir $HOME/bin'
  39.     then type:     'mv getit $HOME/bin'
  40.             'mv getumich $HOME/bin'
  41.             'mv prnumich $HOME/bin'
  42.  
  43. 3) Edit your .netrc file so that it includes this line:
  44.  
  45. machine mac.archive.umich.edu login anonymous password your@email.address 
  46.  
  47.     Of course, substitiuting your email address for 'your@email.adress'
  48.     If you don't have a .netrc file, just make one.
  49.     Call it '$HOME/.netrc' and put it in your home directory.
  50.  
  51. 5) Get a mac.archive.digest list.  Edit it so that all programs you don't
  52.     want are deleted (that is all the lines that contain '/mac/...' ).
  53.     Any line that starts with a / will be seen as a program to get.
  54.     Save the file  (You can use the sample-input file to test getit)
  55.     You might want to cut the mail headers out also (just in case :)
  56.  
  57. 6) Type 'source $HOME/.cshrc' (or logout and log back in)
  58.  
  59. 7) Type 'getit filename' (where filename is what you saved the edited digest as)
  60.  
  61. 8) Wait
  62.  
  63.     You will eventually have the files in a new directory named
  64.     'new-umich-files.month-hr:min:sec'
  65.  
  66.  
  67. Enjoy!
  68.  
  69. --DAVE (johnson@wrs.com)
  70.  
  71. ps- For those more in tune to the unix god, you can set getit to look in some
  72.     other places for it's files, and there's a couple of other options avail.
  73.     Look in the files getit and getumich.
  74.  
  75. pss- Let's be kind about when and how many files.  A nice thing for you to do
  76.     would be to make a script file and use the 'at' command to get the files
  77.     when the archive isn't so busy ( 'man at' for those interesed).
  78.